#!/usr/bin/env python
# -*- coding: utf-8 -*-

""" 获取专利信息 """

from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.edge.options import Options
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait


def get_browser(options=None):
    """return browser"""
    if options is None:
        options = Options()
    return webdriver.Edge(options=options)

driver = get_browser()
url = 'https://pss-system.cponline.cnipa.gov.cn/seniorSearch'
# url = 'https://pss-system.cponline.cnipa.gov.cn/conventionalSearch'
driver.get(url)
